package com.scau.hwadee.examination.constant;

/**
 * @author YHX
 * @date 2019/7/26  17:01
 * @description 登录状态枚举类
 */
public enum LoginInType {

    // 相同浏览器登录
    SAMEBROWSERREPEATLOGIN("repeatLogin", -1),
    // 不同浏览器登录
    DIFFERENTBROWSERREPEATLOGIN("repeatLogin", 0),
    //用户正常登录
    NORMALLOGIN("normalLogin", 1);
    private String name;
    private Integer code;

    public String getName() {
        return name;
    }


    public Integer getCode() {
        return code;
    }

    LoginInType(String name, Integer code) {
        this.name = name;
        this.code = code;
    }


}
